﻿<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <ClientWebPart Name="GallerifficAppPart" Title="Galleriffic App Part" Description="Dynamic JQuery Pictures Gallery" DefaultWidth="880" DefaultHeight="610">

    <!-- Content element identifies the location of the page that will render inside the client web part
         Properties are referenced on the query string using the pattern _propertyName_
         Example: Src="~appWebUrl/Pages/ClientWebPart1.aspx?Property1=_property1_" -->
    <Content Type="html" Src="~appWebUrl/Pages/GallerifficAppPart.aspx?SPHostUrl={HostUrl}&amp;SPLanguage={Language}&amp;NumThumbs=_NumThumbs_&amp;MaxPagesToShow=_MaxPagesToShow_&amp;EnableTopPager=_EnableTopPager_&amp;EnableBottomPager=_EnableBottomPager_&amp;AutoStart=_AutoStart_&amp;DisplayPictureTitle=_DisplayPictureTitle_&amp;DisplayPictureDescription=_DisplayPictureDescription_&amp;Delay=_Delay_&amp;DefaultTransitionDuration=_DefaultTransitionDuration_&amp;PreloadAhead=_PreloadAhead_&amp;SyncTransitions=_SyncTransitions_&amp;OnMouseOutOpacity=_OnMouseOutOpacity_&amp;MouseOverOpacity=_MouseOverOpacity_&amp;CustomCss=_CustomCss_" />

    <!-- Define properties in the Properties element
           Remember to put Property Name on the Src attribute of the Content element above -->
    <Properties>
      <!-- General Settings -->
      <Property Name="NumThumbs" Type="int" WebBrowsable="true" WebDisplayName="Thumbs Number by page" WebDescription="Please Choose the number of thumbs to display by page." WebCategory="General Settings" DefaultValue="15" RequiresDesignerPermission="true" />
      <Property Name="MaxPagesToShow" Type="int" WebBrowsable="true" WebDisplayName="Max Page To Show" WebDescription="Please Choose the number of page to show in the navigation panel." WebCategory="General Settings" DefaultValue="7" RequiresDesignerPermission="true" />
      <Property Name="EnableTopPager" Type="boolean" WebBrowsable="true" WebDisplayName="Enable Top Pager" WebDescription="Please Choose if you want to display the top pager." WebCategory="General Settings" DefaultValue="true" RequiresDesignerPermission="true" />
      <Property Name="EnableBottomPager" Type="boolean" WebBrowsable="true" WebDisplayName="Enable Bottom Pager" WebDescription="Please Choose if you want to display the bottom pager." WebCategory="General Settings" DefaultValue="true" RequiresDesignerPermission="true" />
      <Property Name="AutoStart" Type="boolean" WebBrowsable="true" WebDisplayName="Auto Start" WebDescription="Please Choose if you want that slideshow starts automatically." WebCategory="General Settings" DefaultValue="false" RequiresDesignerPermission="true" />
      <Property Name="DisplayPictureTitle" Type="boolean" WebBrowsable="true" WebDisplayName="Display Picture Title" WebDescription="Please Choose if you want to display the picture's title." WebCategory="General Settings" DefaultValue="true" RequiresDesignerPermission="true" />
      <Property Name="DisplayPictureDescription" Type="boolean" WebBrowsable="true" WebDisplayName="Display Picture Description" WebDescription="Please Choose if you want to display the picture's description." WebCategory="General Settings" DefaultValue="true" RequiresDesignerPermission="true" />
      <Property Name="CustomCss" Type="string" WebBrowsable="true" WebDisplayName="Custom CSS File Url" WebDescription="Please Choose if you want to specify a custom CSS file URL." WebCategory="General Settings" DefaultValue="" RequiresDesignerPermission="true" />
      <!-- Fx Settings -->
      <Property Name="Delay" Type="int" WebBrowsable="true" WebDisplayName="Delay" WebDescription="Please Choose a transition delay." WebCategory="Fx Settings" DefaultValue="2500" RequiresDesignerPermission="true" />
      <Property Name="DefaultTransitionDuration" Type="int" WebBrowsable="true" WebDisplayName="Default Transition Duration" WebDescription="Please Choose a default transition duration." WebCategory="Fx Settings" DefaultValue="900" RequiresDesignerPermission="true" />
      <Property Name="PreloadAhead" Type="int" WebBrowsable="true" WebDisplayName="Preload Head Duration" WebDescription="" WebCategory="Fx Settings" DefaultValue="10" RequiresDesignerPermission="true" />
      <Property Name="SyncTransitions" Type="boolean" WebBrowsable="true" WebDisplayName="Sync Transitions" WebDescription="Please Choose if you want to synch transitions." WebCategory="Fx Settings" DefaultValue="true" RequiresDesignerPermission="true" />
      <Property Name="OnMouseOutOpacity" Type="string" WebBrowsable="true" WebDisplayName="OnMouseOut Opacity" WebDescription="Please Choose the opacity for non-selected pictures." WebCategory="Fx Settings" DefaultValue="0.6" RequiresDesignerPermission="true" />
      <Property Name="MouseOverOpacity" Type="string" WebBrowsable="true" WebDisplayName="MouseOver Opacity" WebDescription="Please Choose the opacity for pictures on mouse over." WebCategory="Fx Settings" DefaultValue="1.0" RequiresDesignerPermission="true" />
    </Properties>

  </ClientWebPart>
</Elements>
